package spring.framework.study.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order implements Serializable {

	private static final long serialVersionUID = 6523460473927227344L;

	private String orderId;

	private String orderName;

	private String productId;

	private Date createTime;
	
	private Date updateTime;

	public Order(String orderId, String orderName) {
		this.orderId = orderId;
		this.orderName = orderName;
	}
}
